package com.uxhao.orderservice.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author uxhao
 * @Description TODO
 * @date 2022/04/05/ 15:07:00
 */
@Data
public class OrderQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名称,模糊查询")
    private String nickname;

    @ApiModelProperty(value = "支付状态 1已支付 0未支付")
    private Integer status;

    @ApiModelProperty(value = "查询开始时间", example = "2021-01-01 10:10:10")
    private String begin;//注意，这里使用的是String类型，前端传过来的数据无需进行类型转换

    @ApiModelProperty(value = "查询结束时间", example = "2021-12-01 10:10:10")
    private String end;
}
